package com.edu.app.bean.core;

import com.baomidou.mybatisplus.annotation.TableName;
import com.edu.app.bean.BaseBean;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


//@Entity
//@Table(name="s_activity")
@TableName("s_activity")
public class SysActivity extends BaseBean {
    private String title;
    private String content;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
    private Date time;
    private Integer type_id;
    private Integer status;
    private Boolean wx_flag;

    public SysActivity() {
        this.status = 0;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getType_id() {
        return type_id;
    }

    public void setType_id(Integer type_id) {
        this.type_id = type_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getWx_flag() {
        return wx_flag;
    }

    public void setWx_flag(Boolean wx_flag) {
        this.wx_flag = wx_flag;
    }
}
